SUBDIRS :=$(shell ls -l | grep ^d | awk '{print $$9}') #NetCap NetCappro netcapture netcomm netdiscover netoptions sercomm smartx system tinyxml  websock  getfilename
#SUBDIRS :=$(shell find . -maxdepth 1 -type d)

#PRE = /usr/local/arm/4.4.1/bin/arm-linux-

#echo $(SUBDIRS)

EXCLUDE_DIRES := .
#SUBDIRS := $(filter-out $(EXCLUDE_DIRS),$(SUBDIRES))

#@echo $(SUBDIRS)

.PHONY: all $(SUBDIRS)
all: $(SUBDIRS)
$(SUBDIRS):
	@echo
	@echo
	@echo '+++++++++++++ +++++++++'
	@echo '+++++   $@  +++++++++'
	@echo '+++++++++++++ +++++++++'
	@echo
	@echo
	make -C $@ clean
	make -C $@


